/*
 * @Description: 系统消息组件 SystemMessage
 * @version: 
 * @Company: 
 * @Author: ZhengZhuang
 * @Date: 2019-08-26 18:26:05
 * @LastEditors: ZhengZhuang
 * @LastEditTime: 2019-08-26 18:37:41
 */

import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class SystemMessage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      child: ListView(
        children: <Widget>[
          _messageList(),
        ],
      ),
    );
  }

  // 消息列表
  Widget _messageList() {
    return Container(
      padding: EdgeInsets.only(
        left: ScreenUtil().setWidth(25.0),
        right: ScreenUtil().setWidth(25.0),
      ),
      child: Card(
        child: Container(
          width: ScreenUtil().setWidth(700.0),
          height: ScreenUtil().setWidth(160.0),
          padding: EdgeInsets.only(
            left: ScreenUtil().setWidth(20.0),
            right: ScreenUtil().setWidth(20.0),
          ),
          child: Column(
            children: <Widget>[
              SizedBox(
                height: ScreenUtil().setWidth(30.0),
              ),
              SizedBox(
                height: ScreenUtil().setWidth(30.0),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
